WebServicesSection Class [IIS 7 and higher]

Controls the behavior of XML Web services and their clients.

Syntax

class WebServicesSection : ConfigurationSectionWithCollection

Methods

The following table lists the methods exposed by the WebServicesSection class.

Name

Description

Add

(Inherited from ConfigurationSectionWithCollection.)

Clear

(Inherited from ConfigurationSectionWithCollection.)

Get

(Inherited from ConfigurationSectionWithCollection.)

GetAllowDefinition

(Inherited from ConfigurationSection.)

GetAllowLocation

(Inherited from ConfigurationSection.)

Remove

(Inherited from ConfigurationSectionWithCollection.)

RevertToParent

(Inherited from ConfigurationSection.)

SetAllowDefinition

(Inherited from ConfigurationSection.)

SetAllowLocation

(Inherited from ConfigurationSection.)

Properties

The following table lists the properties exposed by the WebServicesSection class.

Name

Description

ConformanceWarnings

A ConformanceWarningSettings value that lists the WS-I (Web Services Interoperability Organization) profiles that are used to validate the Web services.

NoteNote:
Currently, the only WS-I profile supported in the .NET Framework is Basic Profile Version 1.1 (BasicProfile 1_1).

Diagnostics

A DiagnosticsSettings value that specifies whether to return exceptions to the client for debugging.

Location

(Inherited from ConfigurationSection.) A key property.

Path

(Inherited from ConfigurationSection.) A key property.

Protocols

A WebServicesProtocolSettings value that specifies the transmission protocols that ASP.NET can use to decrypt data sent from a client browser in the HTTP request.

SectionInformation

(Inherited from ConfigurationSection.)

ServiceDescriptionFormatExtensionTypes

A ServiceDescriptionFormatSettings value that specifies the service description format extensions to run in the scope of the configuration file.

SoapEnvelopeProcessing

A SoapEnvelopeProcessingInfo value that configures a time-out to help mitigate denial of service attacks.

SoapExtensionImporterTypes

A SoapExtensionImporterTypesSettings value that specifies the SOAP extensions to run when a service description for a Web service in the scope of the configuration file is accessed to create a proxy class.

SoapExtensionReflectorTypes

A SoapExtensionReflectorTypesSettings value that specifies the SOAP extensions to run when a service description is generated for all Web services in the scope of the configuration file.

SoapExtensionTypes

A SoapExtensionTypesInfo value that specifies the SOAP extensions to run with all Web services in the scope of the configuration file.

SoapServerProtocolFactory

A SoapServerProtocolFactory value that sets a System.Web.Services.Configuration.TypeElement object that corresponds to the protocol that is used to call the Web service.

SoapTransportImporterTypes

A SoapTransportImporterTypesInfo value that contains SoapTransportImporterTypeElement instances that import SOAP transmission protocols into Web services.

WsdlHelpGenerator

A WsdlHelpGeneratorInfo value that specifies the Web service Help page (an .aspx file) that is displayed to a browser when the user browses to an .asmx page.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ConfigurationSection

   ConfigurationSectionWithCollection

      WebServicesSection

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

ConfigurationSectionWithCollection Class [IIS 7 and higher]

ConformanceWarning Class [IIS 7 and higher]

ConformanceWarningSettings Class [IIS 7 and higher]

DiagnosticsSettings Class [IIS 7 and higher]

ServiceDescriptionFormatSettings Class [IIS 7 and higher]

SoapEnvelopeProcessingInfo Class [IIS 7 and higher]

SoapExtensionImporterTypesSettings Class [IIS 7 and higher]

SoapExtensionReflectorTypesSettings Class [IIS 7 and higher]

SoapExtensionTypesInfo Class [IIS 7 and higher]

SoapServerProtocolFactory Class [IIS 7 and higher]

SoapTransportImporterTypeElement Class [IIS 7 and higher]

SoapTransportImporterTypesInfo Class [IIS 7 and higher]

TypeElement Class [IIS 7 and higher]

WebServicesProtocolSettings Class [IIS 7 and higher]

WebServicesSection Class [IIS 7 and higher]

WsdlHelpGeneratorInfo Class [IIS 7 and higher]

SystemWebSectionGroupWebServices()()()()

Other Resources

System.Web.Services.Description.SoapTransportImporter